package handax.entities;

/**
 *
 * @author Andreas Apostolidis
 */
public class Category {

    //Column name = "ID"
    private Integer id;
    //Column name = "DESCR"
    private String descr;

    //Constuctors
    public Category() {
    }

    public Category(Integer id, String descr) {
        this.id = id;
        this.descr = descr;
    }
    //Getters and Setters

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }
    
    public String toString() {
        return descr;
    }
}
